package com.example.demofeign.config;

import feign.Contract;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @Auther Created by l.wang on 2019/2/27.
 */
//@Configuration
public class FooConfiguration {

    @Bean
    public Contract feignContract(){
        return new feign.Contract.Default();
    }
}
